package cn.yunxiang.summer.system.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 系统数据统计对象 aws_system_statistics
 *
 * @author zcc
 */
@Schema(description = "系统数据统计对象")
@Data
@TableName("aws_system_statistics")
public class SystemStatistics {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "统计日期")
    private LocalDateTime date;

    @Schema(description = "登录用户数")
    private Integer loginMemberCount;

    @Schema(description = "注册用户数")
    private Integer registerMemberCount;

    @Schema(description = "加购用户数")
    private Integer addCartMemberCount;

    @Schema(description = "下单用户数")
    private Integer createOrderMemberCount;

    @Schema(description = "成交用户数")
    private Integer dealMemberCount;

    @Schema(description = "下单数")
    private Integer orderCount;

    @Schema(description = "成交数")
    private Integer dealCount;

    @Schema(description = "成交金额")
    private BigDecimal dealAmount;

    @Schema(description = "售后数")
    private Integer aftersaleCount;

    @Schema(description = "售后金额")
    private BigDecimal aftersaleAmount;
}
